<template>
	<view class="">
		<u-navbar title="拼团中"></u-navbar>
		<view class="topbox">
			<!-- 倒计时拼团中显示 -->
			<!-- <view class="time">
				剩余00:52:24结束
			</view> -->
			<view class="imagebox">
				<view class="imgs">
					<image src="../../static/头像.jpg" mode=""></image>
				</view>
				<view class="imgs">
					<image src="../../static/头像.jpg" mode=""></image>
				</view>
			</view>
			<view class="succesimg">
				<!-- 关闭 -->
				<!-- <image src="../../static/关闭.png" mode=""></image> -->
				<!-- 失败 -->
				<image src="../../static/拼团管理.png" mode=""></image>
			</view>
			<!-- 平团中-->
			<!-- <view class="shuom">
				拼团中，还差1个人拼团成功！
			</view>
			<view class="backhonmepage" @click="backhome">
				返回首页
			</view> -->

			<!-- 拼团成功 -->
			<view class="shuom">
				拼团成功，我们会尽快为您发货
			</view>
			<!-- 拼团失败 -->
			<view class="shuom">
				拼团失败，订单金额将原路退还至您的账户！
			</view>
			<view class="ptcghz">
				<view class="fhsy" @click="backhome">
					返回首页
				</view>
				<view class="ckdd" @click="myorder">
					查看订单
				</view>
			</view>
			<image src="../../static/share.png" mode="" class="share"></image>
		</view>
		<view class="contant">
			<view class="title">
				好物拼团推荐
			</view>
			<image src="../../static/矩形67拷贝.png" mode="widthFix" style="width:41rpx;"></image>
			<!-- 底部内容列表 -->
			<Basegroup></Basegroup>
		</view>

	</view>
</template>

<script>
	import Basegroup from "../../components/Basegroup/index.vue"
	export default {
		data() {
			return {

			}
		},
		methods: {
			// 查看订单
			myorder(){
				this.jumpLink({link:"/pages/my_order/index"})
			},
			// 返回首页
			backhome(){
				uni.switchTab({
					url:"../homepage/index"
				})
			}
		},
		components: {
			Basegroup
		}
	}
</script>

<style scoped lang="scss">
	.topbox {
		position: relative;
		width: 700rpx;
		padding-bottom: 34rpx;
		background-image: linear-gradient(92deg,
				#fc6a30 0%,
				#f62e1d 100%);
		border-radius: 10rpx;
		margin: 0 auto;
		margin-top: 20rpx;
		padding-top: 50rpx;

		.time {
			text-align: center;
			font-family: SourceHanSansCN-Regular;
			font-size: 28rpx;
			color: #ffffff;
		}

		.succesimg {
			image {
				display: block;
				margin: 0 auto;
				margin-top: 28rpx;
				width: 60rpx;
				height: 60rpx;
			}
		}

		.imagebox {
			align-items: center;
			display: flex;
			width: 200rpx;
			margin: 0 auto;

			.imgs {
				margin: 0 auto;
				width: 71rpx;
				height: 71rpx;
				background-color: rgba(255, 255, 255, 0.2);
				border-radius: 71rpx;
				border: dashed 2rpx #FFFFFF;
				margin-top: 30rpx;

				image {
					width: 66rpx;
					height: 66rpx;
					display: block;
					margin: auto;
					border-radius: 67rpx;
				}
			}
		}

		.shuom {
			font-family: SourceHanSansCN-Regular;
			font-size: 28rpx;
			color: #fff;
			margin-top: 33rpx;
			text-align: center;
		}

		.backhonmepage {
			width: 176rpx;
			height: 60rpx;
			border-radius: 30rpx;
			border: solid 2rpx #ffffff;
			line-height: 60rpx;
			text-align: center;
			margin: 0 auto;
			margin-top: 43rpx;
			font-family: SourceHanSansCN-Regular;
			font-size: 30rpx;
			color: #ffffff;
		}

		.ptcghz {
			display: flex;
			align-items: center;
			justify-content: space-around;
			margin-top: 43rpx;

			.fhsy {
				width: 176rpx;
				height: 60rpx;
				border-radius: 30rpx;
				border: solid 2rpx #ffffff;
				line-height: 60rpx;
				text-align: center;
				font-family: SourceHanSansCN-Regular;
				font-size: 30rpx;
				color: #ffffff;
			}

			.ckdd {
				width: 176rpx;
				height: 60rpx;
				background-color: #f37f38;
				border-radius: 30rpx;
				line-height: 60rpx;
				text-align: center;
				font-family: SourceHanSansCN-Regular;
				font-size: 30rpx;
				color: #ffffff;
			}
		}

		.share {
			position: absolute;
			width: 30rpx;
			height: 30rpx;
			top: 32rpx;
			right: 39rpx;
		}
	}

	.contant {
		width: 700rpx;
		height: 784rpx;
		background-color: #ffffff;
		border-radius: 10rpx;
		margin: 0 auto;
		margin-top: 36rpx;
		padding: 30rpx;
		box-sizing: border-box;
		// overflow: scroll;

		.title {
			font-family: MicrosoftYaHei-Bold;
			font-size: 28rpx;
			color: #333333;
			font-weight: 700;
		}

		image {
			margin-left: 64rpx;
		}
	}
</style>
